package com.sduept.nwld.dataserver.model.edata.cim.bx;

import com.sduept.core.entity.IdentifiedObject;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class BxBaseEntity  extends IdentifiedObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5028481501282146605L;

	@Column(name="mrid")
	protected String mrid;	
	
	@Column(name="mname")
	protected String mname;	
	
	@Column(name="mstationid")
	protected String mstationid;	
	
	@Column(name="mvoltage")
	protected String mvoltage;	
	
	@Column(name="mid")
	protected String mid;	
	
	@Column(name="stationid")
	protected String stationid;	
	
	@Column(name="cim_id")
	private String cimId;
	
	@Column(name="cim_station_id")
	private String cimStationId;
	

	@Column(name="cim_name")
	private String cimName;
	
	
	public String getMrid() {
		return mrid;
	}

	public void setMrid(String mrid) {
		this.mrid = mrid;
	}

	public String getMname() {
		return mname;
	}

	public void setMname(String mname) {
		this.mname = mname;
	}

	public String getMstationid() {
		return mstationid;
	}

	public void setMstationid(String mstationid) {
		this.mstationid = mstationid;
	}

	public String getMvoltage() {
		return mvoltage;
	}

	public void setMvoltage(String mvoltage) {
		this.mvoltage = mvoltage;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getStationid() {
		return stationid;
	}

	public void setStationid(String stationid) {
		this.stationid = stationid;
	}

	@Override
	public String toString() {
		return mname;
	}

	public String getCimId() {
		return cimId;
	}

	public void setCimId(String cimId) {
		this.cimId = cimId;
	}

	public String getCimStationId() {
		return cimStationId;
	}

	public void setCimStationId(String cimStationId) {
		this.cimStationId = cimStationId;
	}

	public String getCimName() {
		return cimName;
	}

	public void setCimName(String cimName) {
		this.cimName = cimName;
	}
}
